package ace.module.product.api.model.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * .
 * @author Caspar
 *
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "商品销量")
public class PmsSalesQuantityBo {

  @Schema(title = "商品应用id")
  private Long pmsAppId;
  @Schema(title = "商品id")
  private Long productId;
  @Schema(title = "商品sku id")
  private Long skuId;
  @Schema(title = "库存数量")
  private Long quantity;

  @Schema(title = "删除标识", description = "0-未删除")
  private Long deleteFlag;

  @Schema(title = "创建时间", description = "单位-毫秒")
  private Long createTime;

  @Schema(title = "更新时间", description = "单位-毫秒")
  private Long updateTime;

  @Schema(title = "版本号和乐观锁", description = "")
  private Long rowVersion;
}
